SelBackColor Property

Returns/sets the selection background colour in the Treeview control.

Syntax

object.SelBackColor [=color]

The SelBackColor property syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.
color A numeric expression that specifies the colour.

Remarks

With the VB6 Treeview control, each Node object can have unique display properties (i.e. ForeColor, BackColor, Bold, etc..). These values are not lost when using custom selection properties.

When the SelBackColor property is changed, all selected Node objects are changed automatically. 

Default setting is VBRUN.SystemColorConstants.vbHighlight

Data Type

stdole.OLE_COLOR